#ifndef KEYBOARD_HOOK_H
#define KEYBOARD_HOOK_H

#include "uiohook.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef void (*KeyEventCallback)(uint16_t keycode, uint16_t rawcode, uint16_t type);

UIOHOOK_API int InstallHook(KeyEventCallback callback);

#ifdef __cplusplus
}
#endif

#endif // KEYBOARD_HOOK_H
